import Layout from '@/layout'

export default [
  {
    path: '/configure',
    component: Layout,
    redirect: 'noRedirect',
    name: 'configure',
    meta: { title: '配置管理', icon: 'el-icon-setting', roles: ['develop', 'marbles'] },
    children: [
      {
        path: '/configure/serviceNode',
        name: 'dataDict',
        component: () => import('@/views/video/serviceNode'),
        meta: { title: '服务节点', icon: 'el-icon-share', roles: ['develop'] }
      },
      {
        path: '/configure/gameUrl',
        name: 'gameUrl',
        component: () => import('@/views/video/gameUrl'),
        meta: { title: '赛事地址', icon: 'el-icon-link', roles: ['develop'] }
      },
      {
        path: '/configure/gameMachine',
        name: 'gameMachine',
        component: () => import('@/views/video/gameMachine'),
        meta: { title: '机台管理', icon: 'el-icon-set-up' }
      },
      {
        path: '/configure/videoBatch',
        name: 'videoBatch',
        component: () => import('@/views/video/videoBatch'),
        meta: { title: '版本管理', icon: 'el-icon-guide' }
      },
      {
        path: '/configure/dataDict',
        name: 'dataDict',
        component: () => import('@/views/video/dataDict'),
        meta: { title: '主数据', icon: 'el-icon-help' }
      }
    ]
  }
]
